package com.heu.blood.security.service;


import com.heu.blood.security.dto.req.SpecialLoginReqDTO;
import com.heu.blood.security.dto.resp.SpecialLoginRespDTO;
import com.heu.blood.security.entity.UserEntity;
import org.apache.commons.lang3.tuple.Pair;

import java.util.Map;

public interface LoginService {
    Map<String,Object> login(UserEntity user);

    void logout();

    /**
     * 用户注册
     * @return
     */
    Pair<Boolean, String> register(UserEntity userEntity);

    /**
     * 进行特殊配血和特殊发血的的二次登录
     * @param requestParam
     */
    SpecialLoginRespDTO specialLogin(SpecialLoginReqDTO requestParam);
}
